import request from '../utils/request';


export const ReleaseOrderList = (data) => {
    return request({
        url: '/admin/release_order/v1/list',
        method: 'post',
        data: data
    });
}
export const BatchGenList = (data) => {
    console.log(data);
    return request({
        url: '/admin/auth-code/v1/page-list',
        method: 'post',
        data: data
    });
}
export const NewReleaseOrder = (data) => {
    console.log(data);
    return request({
        url: '/admin/release_order/v1/new',
        method: 'post',
        data: data
    });
}
export const ReleaseDetail = (data) => {
    console.log(data);
    return request({
        url: '/admin/release_order/v1/detail',
        method: 'post',
        params: data
    });
}
export const takedowncheck = (data) => {
    return request({
        url: '/admin/release_order/v1/take-down-check',
        method: 'post',
        params: data
    });
}
export const takedownconfirm = (data) => {
    return request({
        url: '/admin/release_order/v1/take-down-confirm',
        method: 'post',
        params: data
    })
}
export const edit = (data) => {
    return request({
        url: '/admin/release_order/v1/edit',
        method: 'post',
        data: data
    })
}